<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="comment_item" value="${requestScope.COMMENT_ITEM}"/>
<div id="commentRow_${comment_item.commentId}" 
	style="margin-bottom: 10px; background-color: #edeff4;">
	
	<div class="row">
		<div class="col-md-11" style="padding: 5px !important;">
			${comment_item.content} 
		</div>
		<div class="col-md-1">
			<button type="button" class="btn btn-danger btn-xs" type="button" 
						style="font-size: xx-small;"
						onclick="deleteComment('${comment_item.commentId}')">
				<span class="glyphicon glyphicon-remove"></span>
			</button>
		</div>
	</div>
	<div class="row">
		<div class="col-md-12" style="padding: 5px !important;">
			<span style="font: arial,sans-serif;font-weight: bold;color: #226DCC;">
 				<span class="glyphicon glyphicon-user"></span> 
 					${comment_item.account.username}
 			</span>
		</div>
	</div>
</div>	
<c:if test="${empty comment_item}">error</c:if>